package com.openlogic.datasource.api.vo;

import java.io.Serializable;
import java.util.Date;

/**
* @ClassName: DataColumnVo
* @Description: 元数据信息表 实体VO
* @author weiyongpeng
* @date 2024年11月22日 上午8:30:35
 */
public class DataColumnVo implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * ID
	 */
	private String id;

	/**
	 * 数据源ID
	 */
	private String sourceId;

	/**
	 * 数据表ID
	 */
	private String tableId;

	/**
	 * 列名称
	 */
	private String columnName;
	
	/**
	 * 数据库名称
	 */
	private String database;
	/**
	 * 数据源类型
	 */
	private String dbType;

	/**
	 * 列备注 别名
	 */
	private String columnComment;

	/**
	 * 是否是主键
	 */
	private String columnKey;

	/**
	 * 是否空
	 */
	private String columnNullable;

	/**
	 * 是否索引
	 */
	private String columnPosition;

	/**
	 * 列数据类型
	 */
	private String dataType;

	/**
	 * 数据长度
	 */
	private String dataLength;

	/**
	 * 精度
	 */
	private String dataPrecision;

	/**
	 * 小数位
	 */
	private String dataScale;

	/**
	 * 默认值
	 */
	private String dataDefault;

	/**
	 * 数据源名称
	 */
	private String sourceName;

	/**
	 * 表名称
	 */
	private String tableName;

	/**
	 * 表备注 别名
	 */
	private String tableComment;

	private Date createTime;

	private String createBy;
	
	private String createName;

	private Date updateTime;

	private String updateBy;
	
	private String updateName;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getSourceId() {
		return sourceId;
	}

	public void setSourceId(String sourceId) {
		this.sourceId = sourceId;
	}

	public String getTableId() {
		return tableId;
	}

	public void setTableId(String tableId) {
		this.tableId = tableId;
	}

	public String getColumnName() {
		return columnName;
	}

	public void setColumnName(String columnName) {
		this.columnName = columnName;
	}

	public String getColumnComment() {
		return columnComment;
	}

	public void setColumnComment(String columnComment) {
		this.columnComment = columnComment;
	}

	public String getColumnKey() {
		return columnKey;
	}

	public void setColumnKey(String columnKey) {
		this.columnKey = columnKey;
	}

	public String getColumnNullable() {
		return columnNullable;
	}

	public void setColumnNullable(String columnNullable) {
		this.columnNullable = columnNullable;
	}

	public String getColumnPosition() {
		return columnPosition;
	}

	public void setColumnPosition(String columnPosition) {
		this.columnPosition = columnPosition;
	}

	public String getDataType() {
		return dataType;
	}

	public void setDataType(String dataType) {
		this.dataType = dataType;
	}

	public String getDataLength() {
		return dataLength;
	}

	public void setDataLength(String dataLength) {
		this.dataLength = dataLength;
	}

	public String getDataPrecision() {
		return dataPrecision;
	}

	public void setDataPrecision(String dataPrecision) {
		this.dataPrecision = dataPrecision;
	}

	public String getDataScale() {
		return dataScale;
	}

	public void setDataScale(String dataScale) {
		this.dataScale = dataScale;
	}

	public String getDataDefault() {
		return dataDefault;
	}

	public void setDataDefault(String dataDefault) {
		this.dataDefault = dataDefault;
	}

	public String getSourceName() {
		return sourceName;
	}

	public void setSourceName(String sourceName) {
		this.sourceName = sourceName;
	}

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public String getTableComment() {
		return tableComment;
	}

	public void setTableComment(String tableComment) {
		this.tableComment = tableComment;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreateBy() {
		return createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getUpdateBy() {
		return updateBy;
	}

	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}

	public String getDatabase() {
		return database;
	}

	public void setDatabase(String database) {
		this.database = database;
	}

	public String getDbType() {
		return dbType;
	}

	public void setDbType(String dbType) {
		this.dbType = dbType;
	}

	public String getCreateName() {
		return createName;
	}

	public void setCreateName(String createName) {
		this.createName = createName;
	}

	public String getUpdateName() {
		return updateName;
	}

	public void setUpdateName(String updateName) {
		this.updateName = updateName;
	}

}
